﻿function JSHelper()
{ }

JSHelper.ShowInfo = function (msg, title, fn) {
    if (title == null)
        title = "提示"
    $.messager.alert(title, msg, 'info', fn);
}

JSHelper.ShowError = function (msg, title, fn) {
    if (title == null)
        title = "错误提示"
    $.messager.alert(title, msg, 'error', fn);
}

JSHelper.ShowConfirm = function (msg, title, fn) {
    if (title == null)
        title = "提示"
    $.messager.confirm(title, msg, fn);
}